<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>业务表单</title>
    <%@include file="/common/header.jspf"%>
    <script type="text/javascript">
        var loginUserName = '${loginUser.name}';
        var loginUserId = '${loginUser.id}'
    </script>
    <SCRIPT src="${ctx}/resources/js/accidentEvent/osha/fire/add.js" type="text/javascript"></SCRIPT>
    <style type="text/css">
        .osha_table{
            margin:0 auto;
            width: 95%;
            border:solid gray; border-width:1px 0px 0px 1px;
            margin-bottom: 10px;
        }
        .osha_table td{
            /*width:25%;*/
            height: 30px;
            font-size: 12px;
            text-align: right;
            border:solid gray; border-width:0px 1px 1px 0px;
        }
    </style>
</head>
<body>
<div class="menu-right" style="">
    <a class="button icon-save" id="btn_save">
        保存
    </a>
    <a class="button icon-refer" id="">
        提交
    </a>
    <%--<a class="button icon-export">
        导入
    </a>--%>
</div>
<form id="infoForm" method="post">
<div class="information">
    <div class="information-title">
        <p>基本信息</p>
        <a class="panel-down" href="javascript:void(0)">
            <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
        </a>
    </div>
    <div class="cuttle">
        <div style="clear: both">

            <div class="form_one">
                <label class="lable-style">部门名称:</label>
                <input id="dept" class="easyui-textbox" style="width: 240px;" required="true"
                       editable="false" validType="validSelect" name="deptId">
                <span>*</span>
            </div>
            <div class="form_one">
                <label class="lable-style">年度:</label>
                <input id="reportYearth" class="easyui-textbox" style="width: 240px;" required="true"
                       editable="false" validType="validSelect" name="reportYearth">
                <span>*</span>
            </div>
            <div class="form_one">
                <label class="lable-style">月份:</label>
                <input id="reportMonth" class="easyui-textbox" style="width: 240px;" required="true"
                       editable="false" validType="validSelect" name="reportMonth">
                <span>*</span>
            </div>
        </div>
    <div style="clear: both;height: 55px;">
        <div class="form_one fotm-textarea">
            <label class="lable-style">备注:</label>
            <input class="easyui-textbox" data-options="multiline:true" style="height: 50px;width: 598px;" name="remarks"/>
        </div>
    </div>
    <table class="osha_table" style="" cellpadding="3" cellspacing="0">
        <tr>
            <td rowspan="2" >1级(造成重大社会影响的)</td>
            <td>
                次数
            </td>
            <td style="text-align: left;">
                <input id="firstGradeNum" name="firstGradeNum" class="easyui-numberspinner" style="width:200px"  value="0" data-options="min:0"
                       required>
            </td>
            <td rowspan="2">2级(未造成重大社会影响的)</td>
            <td>
                次数
            </td>
            <td style="text-align: left;">
                <input id="secondGradeNum" name="secondGradeNum" class="easyui-numberspinner" style="width:200px"  value="0" data-options="min:0"
                       required>
            </td>
        </tr>
        <tr>
            <td>
                损失（万元）
            </td>
            <td style="text-align: left;">
                <input id="firstGradeLoss" name="firstGradeLoss" class="easyui-numberspinner" style="width:200px" value="0" data-options="min:0,precision:2"
                       required>
            </td>
            <td>
                损失（万元）
            </td>
            <td style="text-align: left;">
                <input id="secondGradeLoss" name="secondGradeLoss" class="easyui-numberspinner" style="width:200px" value="0" data-options="min:0,precision:2"
                       required>
            </td>
        </tr>
        <%--==============================================--%>
        <tr>
            <td rowspan="2" >3级(企业级)</td>
            <td>
                次数
            </td>
            <td style="text-align: left;">
                <input id="thirdGradeNum" name="thirdGradeNum" class="easyui-numberspinner" style="width:200px"  value="0" data-options="min:0"
                       required>
            </td>
            <td rowspan="2" >4级(小的着火)</td>
            <td>
                次数
            </td>
            <td style="text-align: left;">
                <input id="fourthGradeNum" name="fourthGradeNum" class="easyui-numberspinner" style="width:200px"  value="0" data-options="min:0"
                       required>
            </td>
        </tr>
        <tr>
            <td>
                损失（万元）
            </td>
            <td style="text-align: left;">
                <input id="thirdGradeLoss" name="thirdGradeLoss" class="easyui-numberspinner" style="width:200px" value="0" data-options="min:0,precision:2"
                       required>
            </td>
            <td>
                损失（万元）
            </td>
            <td style="text-align: left;">
                <input id="fourthGradeLoss" name="fourthGradeLoss" class="easyui-numberspinner" style="width:200px" value="0" data-options="min:0,precision:2"
                       required>
            </td>
        </tr>
        <%--===================================================================================--%>
        <tr>
            <td >合计</td>
            <td>
                次数
            </td>
            <td style="text-align: left;">
                <input id="totalNum" class="easyui-numberspinner" style="width:200px"  value="0" data-options="min:0"
                       readonly>
            </td>
            <td>损失</td>

            <td colspan="2" style="text-align: left;">
                <input id="totalLoss" class="easyui-numberspinner" style="width:200px"  value="0" data-options="min:0,precision:2"
                       readonly>
            </td>
        </tr>
    </table>
    </div>
</div>





</form>
</body>
</html>
